package org.gd.rest.jersey.webapp;

import javax.ws.rs.*;
import javax.ws.rs.core.MediaType;

@Path("/hello")
public class Test {

    @GET
    @Produces(MediaType.TEXT_PLAIN)
    public String getHello() {
        return "Hello Jersey World!";
    }

    @POST
    @Produces(MediaType.TEXT_PLAIN)
    public String postHello() {
        return "Hello Jersey World!";
    }
}
